export function scriptUpload(data: FormData, name: string) {
    return usePost(
        '/tsScripts/upload/' + name,
        data,
        {
        },
        {
            // 是否开启全局请求loading
            loading: true,
            headers: {
                'Content-Type': 'multipart/form-data',
            },
        }
    );
}
